package com.barneyx.mshinfoplatform.entity.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Getter;

@Getter
public enum ELogType implements IEnum<String> {
    LOG_ADMIN_LOGIN(300, "LOG_ADMIN_LOGIN"), //用户登陆日志
    LOG_ADMIN_INFO_UPDATE(301, "LOG_ADMIN_INFO_UPDATE"),

    ;

    @EnumValue
    private final int code;
    @JsonProperty
    private final String value;

    ELogType(int code, String value) {
        this.code = code;
        this.value = value;
    }
}
